import Index from "./page/Index";
import Login from "./page/Login";
import {IndexDetail} from "./page/IndexDetail";
import {About} from "./page/About/index.jsx";

// 路由配置
const router = [
	{
		path: "/",
		element: <Index />,
		children: [
			{
				index: true,
				element: <IndexDetail />
			},
			{
				path: "about/:id/:name",
				element: <About />
			}
		]
	},
	{
		path: "/login",
		element: <Login />,
	}
]

export default router;
